@layout("/common/_container.html"){
<div id="listRolePage">
    <form class="layui-form layui-elem-quote news_search">
        <div class="fix">
            <div class="layui-inline float-l">
                <div class="layui-btn-group">
                    <a id="addRole" class="layui-btn layui-btn-sm"><i class="fa fa-plus"></i></a>
                    <a id="refresh" class="layui-btn layui-btn-sm"><i class="fa fa-refresh"></i></a>
                </div>
            </div>
            <div class="layui-inline float-r">
                <div class="layui-input-inline">
                    <input type="text" name="roleCode" value="" placeholder="请输入角色代码" class="layui-input layui-input-sm" autocomplete="off"/>
                </div>
                <a class="layui-btn layui-btn-sm" lay-submit lay-filter="search">查询</a>
            </div>
        </div>
    </form>

    <table id="roles" class="layui-hide" lay-filter="roles"></table>
</div>

<script type="text/html" id="toolBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="assignPermission">权限</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>

<script src="${ctxPath}/static/scripts/system/role.js"></script>
@}
